package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Order;
import com.example.entity.User;
import com.example.entity.UserMessage;
import com.example.vo.MemberMessageQueryVO;
import com.example.vo.Result;

import java.util.List;

/**
* @author circle48
* @description 针对表【user_message】的数据库操作Service
* @createDate 2024-05-14 21:11:52
*/
public interface UserMessageService extends IService<UserMessage> {

    Result getMessages(MemberMessageQueryVO memberMessageQueryVO);

    Boolean editStatus(int atatus, Integer messageId);

    void publishIntegrationMessage(int totalPoints, User user);


    void sendPaymentReminder(User user, List<Order> orders);
}
